<template>
  <div class="hello">
    <div class='one'>msg:{{ msg }} id:{{id}} query:{{query}}</div>
  </div>
</template>

<script>
export default {
  name: "HelloWorld",
  props: ["query"],
  data() {
    return {
      msg: "HelloWorld",
      id: this.$route.params.id
    };
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.one {
  height: 100px;
  line-height: 100px;
  text-align: center;
  background-color: lightblue;
}
</style>
